package com.jonas.mybatis;

import com.jonas.bean.Sport;
import com.jonas.bean.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by myrna on 16/3/17.
 */
public interface UserMapper {
//    @Select("SELECT * FROM t_sport WHERE id = #{id}")
    Sport selectSport(int id);

    List<Sport> getSports();

    void saveSport(Sport sport);

    void deleteSport(int id);





}
